package com.sunk.springbootmybatisplus.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.sunk.springbootmybatisplus.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * User 表数据库控制层接口
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    List<User> selectListBySQL();

    List<User> selectUserList(Pagination page);

}